<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><s:text name="system.page.title"/></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="js/jquery-1.8.0.js" charset="utf-8"></script>
<script type="text/javascript" src="js/ready.js" charset="utf-8"></script>
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="utf-8"></script>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	function editorProjecperiods() {
		formId.submit();
	}
</script>
</head>
<body>
<div class="tools">
	<div class="tool">
	<ul>
		<li>
			<div onclick="editorProjecperiods()"><img src="image/button/filesave.png" width="20" height="20"/><span><s:text name='system.button.save'/></span></div>
		</li>
		<li>
			<div><img src="image/button/ABORT20.gif"/><span><s:text name='system.button.channel'/></span></div>
		</li>
	</ul>
	</div>
</div>
<s:form action="editorProjecperiodsAll.do" id="formId" name="formId">
<s:hidden name="bean.project_id"/>
<div class="formatClass">
	<div class="formatData">
		<div class="formatTitle"><span><s:text name='rec.projecperiods'/></span></div>
		<div class="y-scroll" style="height:250px;">
			<table border="0" cellpadding="0" cellspacing="0"  class="listdetail" id="detail">
				<tr class="trhead" >
					<td><s:text name='rec.projecperiods.periods_name'/></td>
					<td><s:text name='rec.projecperiods.start_date'/></td>
					<td><s:text name='rec.projecperiods.end_date'/></td>
					<td><s:text name='rec.projecperiods.times'/></td>
				</tr>
				<s:set name="seq" value="0"/>
				<s:iterator value="voes" id="l">
					<tr class="detailtd">
						<td><input name="list[<s:property value="#seq"/>].periods_name" type="text" style="width: 100%"/></td>
						<td><input name="list[<s:property value="#seq"/>].start_date" type="text" onfocus="WdatePicker();" readonly="readonly" style="width: 100%"/></td>
						<td><input name="list[<s:property value="#seq"/>].end_date" type="text" onfocus="WdatePicker();" readonly="readonly" style="width: 100%"/></td>
						<td><input name="list[<s:property value="#seq"/>].times" value="<s:property value="#l.times"/>" type="text" style="width: 100%"/></td>
					</tr>
					<s:set name="seq" value="#seq+1"/>
				</s:iterator>
			</table>
		</div>
	</div>
</div>
</s:form>
</body>
</html>